<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
{if ($Think.session.uid) && ($Think.session.name)}
Hello,{$Think.session.name} <br>
{else/}
<a href="/login">登录</a><br>
{/if}
<a href="/register">注册</a> <br>
<a href="/logout">注销</a><br>
<a href="/postss">首页</a>
</body>
</html>